package com.qf.exceptions;

/**
 * @Author ztf
 * @Date 19:55 2021/12/27
 **/
public class MyBaseException extends RuntimeException{
    //状态码
    private int code;
    public MyBaseException(String message, int code) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

}
